<?php
    session_start();
    session_destroy();
    session_unset(); //limpamos as variaveis globais das sessÃµes
    echo "<script>top.location.href='login.php';</script>";	
?>